home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 326-350 / disk_333 / multiplot / source / mplot_src / howto1.h < prev    next >
C/C++ Source or Header  |  1992-05-06  |  24KB  |  515 lines

  1. /* Tick box Data */
  2.  
  3. USHORT chip ImageData3[] = {
  4.         0x7FFF,0xFFFF,0xE000,0xFFFF,0xFFFF,0xF000,0xFFFF,0xFFFF,
  5.         0xF000,0xFFFF,0xFFFF,0xF000,0xFFFF,0xFFFF,0xF000,0xFC00,
  6.         0x0003,0xF000,0xFC00,0x0003,0xF000,0xFC00,0x0003,0xF000,
  7.         0xFC00,0x0003,0xF000,0xFC00,0x0043,0xF000,0xFC00,0x0083,
  8.         0xF000,0xFC00,0x0103,0xF000,0xFC00,0x0203,0xF000,0xFC00,
  9.         0x0403,0xF000,0xFC00,0x0C03,0xF000,0xFC00,0x1803,0xF000,
  10.         0xFC00,0x3003,0xF000,0xFC00,0x6003,0xF000,0xFC00,0xC003,
  11.         0xF000,0xFD01,0x8003,0xF000,0xFC87,0x8003,0xF000,0xFCCF,
  12.         0x0003,0xF000,0xFC7E,0x0003,0xF000,0xFC7E,0x0003,0xF000,
  13.         0xFC3C,0x0003,0xF000,0xFC18,0x0003,0xF000,0xFC00,0x0003,
  14.         0xF000,0xFC00,0x0003,0xF000,0xFC00,0x0003,0xF000,0xFFFF,
  15.         0xFFFF,0xF000,0xFFFF,0xFFFF,0xF000,0xFFFF,0xFFFF,0xF000,
  16.         0xFFFF,0xFFFF,0xF000,0x7FFF,0xFFFF,0xE000,0x0000,0x0000,
  17.         0x0FFF,0x0000,0x0000,0x0FFF,0x0000,0x0000,0x0FFF,0x0000,
  18.         0x0000,0x0FFF,0x0000,0x0000,0x0FFF,0x03FF,0xFFFC,0x0FFF,
  19.         0x03FF,0xFFFC,0x0FFF,0x03FF,0xFFFC,0x0FFF,0x03FF,0xFFFC,
  20.         0x0FFF,0x03FF,0xFFBC,0x0FFF,0x03FF,0xFF7C,0x0FFF,0x03FF,
  21.         0xFEFC,0x0FFF,0x03FF,0xFDFC,0x0FFF,0x03FF,0xFBFC,0x0FFF,
  22.         0x03FF,0xF3FC,0x0FFF,0x03FF,0xE7FC,0x0FFF,0x03FF,0xCFFC,
  23.         0x0FFF,0x03FF,0x9FFC,0x0FFF,0x03FF,0x3FFC,0x0FFF,0x02FE,
  24.         0x7FFC,0x0FFF,0x0378,0x7FFC,0x0FFF,0x0330,0xFFFC,0x0FFF,
  25.         0x0381,0xFFFC,0x0FFF,0x0381,0xFFFC,0x0FFF,0x03C3,0xFFFC,
  26.         0x0FFF,0x03E7,0xFFFC,0x0FFF,0x03FF,0xFFFC,0x0FFF,0x03FF,
  27.         0xFFFC,0x0FFF,0x03FF,0xFFFC,0x0FFF,0x0000,0x0000,0x0FFF,
  28.         0x0000,0x0000,0x0FFF,0x0000,0x0000,0x0FFF,0x0000,0x0000,
  29.         0x0FFF,0x0000,0x0000,0x0FFF
  30. };
  31.  
  32. struct Image Image3 = {
  33.         0,0,    /* XY origin relative to container TopLeft */
  34.         36,34,  /* Image width and height in pixels */
  35.         2,      /* number of bitplanes in Image */
  36.         ImageData3,     /* pointer to ImageData */
  37.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  38.         NULL    /* next Image structure */
  39. };
  40.  
  41. /* Cross Box Data */
  42.  
  43. USHORT chip ImageData4[] = {
  44.         0x7FFF,0xFFFF,0xE000,0xFFFF,0xFFFF,0xF000,0xFFFF,0xFFFF,
  45.         0xF000,0xFFFF,0xFFFF,0xF000,0xFFFF,0xFFFF,0xF000,0xFC00,
  46.         0x0003,0xF000,0xFC00,0x0003,0xF000,0xFCC0,0x001B,0xF000,
  47.         0xFCE0,0x003B,0xF000,0xFC70,0x0073,0xF000,0xFC38,0x00E3,
  48.         0xF000,0xFC1C,0x01C3,0xF000,0xFC0E,0x0383,0xF000,0xFC07,
  49.         0x0703,0xF000,0xFC03,0x8E03,0xF000,0xFC01,0xDC03,0xF000,
  50.         0xFC00,0xF803,0xF000,0xFC00,0x7003,0xF000,0xFC00,0xF803,
  51.         0xF000,0xFC01,0xDC03,0xF000,0xFC03,0x8E03,0xF000,0xFC07,
  52.         0x0703,0xF000,0xFC0E,0x0383,0xF000,0xFC1C,0x01C3,0xF000,
  53.         0xFC38,0x00E3,0xF000,0xFC70,0x0073,0xF000,0xFCE0,0x003B,
  54.         0xF000,0xFCC0,0x001B,0xF000,0xFC00,0x0003,0xF000,0xFFFF,
  55.         0xFFFF,0xF000,0xFFFF,0xFFFF,0xF000,0xFFFF,0xFFFF,0xF000,
  56.         0xFFFF,0xFFFF,0xF000,0x7FFF,0xFFFF,0xE000,0x0000,0x0000,
  57.         0x0000,0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,
  58.         0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,
  59.         0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,0x0000,
  60.         0x07FF,0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,
  61.         0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,
  62.         0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,0x0000,
  63.         0x07FF,0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,
  64.         0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,
  65.         0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,0x0000,
  66.         0x07FF,0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,
  67.         0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,
  68.         0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,0x0000,
  69.         0x07FF,0x0000,0x0000,0x07FF,0x0000,0x0000,0x07FF,0x0000,
  70.         0x0000,0x07FF
  71. };
  72.  
  73. struct Image Image4 = {
  74.         0,0,    /* XY origin relative to container TopLeft */
  75.         37,35,  /* Image width and height in pixels */
  76.         2,      /* number of bitplanes in Image */
  77.         ImageData4,     /* pointer to ImageData */
  78.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  79.         NULL    /* next Image structure */
  80. };
  81.  
  82. struct Gadget Gadget18 = {
  83.         NULL,   /* next gadget */
  84.         54,119, /* origin XY of hit box relative to window TopLeft */
  85.         32,31,  /* hit box width and height */
  86.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  87.         GADGIMMEDIATE+TOGGLESELECT, /* activation flags */
  88.         BOOLGADGET,     /* gadget type flags */
  89.         (APTR)&Image3,  /* gadget border or image to be rendered */
  90.         (APTR)&Image4,  /* alternate imagery for selection */
  91.         NULL,   /* first IntuiText structure */
  92.         NULL,   /* gadget mutual-exclude long word */
  93.         NULL,   /* SpecialInfo structure */
  94.         NULL,   /* user-definable data */
  95.         NULL    /* pointer to user-definable data */
  96. };
  97.  
  98. UBYTE Gadget17SIBuff[3]="5";
  99. struct StringInfo Gadget17SInfo = {
  100.         Gadget17SIBuff, /* buffer where text will be edited */
  101.         NULL,   /* optional undo buffer */
  102.         0,      /* character position in buffer */
  103.         3,      /* maximum number of characters to allow */
  104.         0,      /* first displayed character buffer position */
  105.         0,0,0,0,0,      /* Intuition initialized and maintained variables */
  106.         0,      /* Rastport of gadget */
  107.         5,      /* initial value for integer gadgets */
  108.         NULL    /* alternate keymap (fill in if you set the flag) */
  109. };
  110.  
  111. /* Empty Box Data */
  112.  
  113. USHORT chip ImageData5[] = {
  114.         0x0000,0x0000,0x0000,0x3FFF,0xFFFF,0xF000,0x7FFF,0xFFFF,
  115.         0xF800,0x7FFF,0xFFFF,0xF800,0x7FFF,0xFFFF,0xF800,0x7FFF,
  116.         0xFFFF,0xF800,0x7E00,0x0001,0xF800,0x7E00,0x0001,0xF800,
  117.         0x7E00,0x0001,0xF800,0x7E00,0x0001,0xF800,0x7E00,0x0001,
  118.         0xF800,0x7E00,0x0001,0xF800,0x7E00,0x0001,0xF800,0x7E00,
  119.         0x0001,0xF800,0x7E00,0x0001,0xF800,0x7E00,0x0001,0xF800,
  120.         0x7E00,0x0001,0xF800,0x7E00,0x0001,0xF800,0x7E00,0x0001,
  121.         0xF800,0x7E00,0x0001,0xF800,0x7E00,0x0001,0xF800,0x7E00,
  122.         0x0001,0xF800,0x7E00,0x0001,0xF800,0x7E00,0x0001,0xF800,
  123.         0x7E00,0x0001,0xF800,0x7E00,0x0001,0xF800,0x7E00,0x0001,
  124.         0xF800,0x7E00,0x0001,0xF800,0x7E00,0x0001,0xF800,0x7E00,
  125.         0x0001,0xF800,0x7FFF,0xFFFF,0xF800,0x7FFF,0xFFFF,0xF800,
  126.         0x7FFF,0xFFFF,0xF800,0x7FFF,0xFFFF,0xF800,0x3FFF,0xFFFF,
  127.         0xF000,0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,
  128.         0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,
  129.         0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,0x0000,
  130.         0x03FF,0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,
  131.         0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,
  132.         0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,0x0000,
  133.         0x03FF,0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,
  134.         0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,
  135.         0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,0x0000,
  136.         0x03FF,0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,
  137.         0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,
  138.         0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,0x0000,
  139.         0x03FF,0x0000,0x0000,0x03FF,0x0000,0x0000,0x03FF,0x0000,
  140.         0x0000,0x03FF
  141. };
  142.  
  143. /* Number of X Ticks Gadget */
  144.  
  145. struct Image Image5 = {
  146.         -7,-13,        /* XY origin relative to container TopLeft */
  147.         38,35,  /* Image width and height in pixels */
  148.         2,      /* number of bitplanes in Image */
  149.         ImageData5,     /* pointer to ImageData */
  150.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  151.         NULL    /* next Image structure */
  152. };
  153.  
  154. struct Gadget Gadget17 = {
  155.         &Gadget18,      /* next gadget */
  156.         400,39, /* origin XY of hit box relative to window TopLeft */
  157.         30,35,  /* hit box width and height */
  158.         GADGIMAGE,      /* gadget flags */
  159.         GADGIMMEDIATE+STRINGCENTER+LONGINT,  /* activation flags */
  160.         STRGADGET,      /* gadget type flags */
  161.         (APTR)&Image5,  /* gadget border or image to be rendered */
  162.         NULL,   /* alternate imagery for selection */
  163.         NULL,   /* first IntuiText structure */
  164.         NULL,   /* gadget mutual-exclude long word */
  165.         (APTR)&Gadget17SInfo,   /* SpecialInfo structure */
  166.         NULL,   /* user-definable data */
  167.         NULL    /* pointer to user-definable data */
  168. };
  169.  
  170. /*  Number of Y Ticks Gadget */
  171.  
  172. UBYTE Gadget17aSIBuff[3]="5";
  173. struct StringInfo Gadget17aSInfo = {
  174.         Gadget17aSIBuff, /* buffer where text will be edited */
  175.         NULL,   /* optional undo buffer */
  176.         0,      /* character position in buffer */
  177.         3,      /* maximum number of characters to allow */
  178.         0,      /* first displayed character buffer position */
  179.         0,0,0,0,0,      /* Intuition initialized and maintained variables */
  180.         0,      /* Rastport of gadget */
  181.         5,      /* initial value for integer gadgets */
  182.         NULL    /* alternate keymap (fill in if you set the flag) */
  183. };
  184.  
  185.  
  186. struct Gadget Gadget17a = {
  187.         &Gadget17,      /* next gadget */
  188.         400,80, /* origin XY of hit box relative to window TopLeft */
  189.         30,35,  /* hit box width and height */
  190.         GADGIMAGE,      /* gadget flags */
  191.         GADGIMMEDIATE+STRINGCENTER+LONGINT,  /* activation flags */
  192.         STRGADGET,      /* gadget type flags */
  193.         (APTR)&Image5,  /* gadget border or image to be rendered */
  194.         NULL,   /* alternate imagery for selection */
  195.         NULL,   /* first IntuiText structure */
  196.         NULL,   /* gadget mutual-exclude long word */
  197.         (APTR)&Gadget17aSInfo,   /* SpecialInfo structure */
  198.         NULL,   /* user-definable data */
  199.         NULL    /* pointer to user-definable data */
  200. };
  201.  
  202.  
  203. /* Point Gadget Image */
  204.  
  205. USHORT chip ImageData6b[] = {
  206.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  207.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  208.         0x0000,0x0030,0x0010,0x0000,0x0000,0x0000,0x0030,0x0000,
  209.         0x01B8,0x7870,0xF87C,0x0000,0x00CC,0xCC30,0xCC30,0x0000,
  210.         0x00CC,0xCC30,0xCC30,0x0000,0x00F8,0xCC30,0xCC34,0x0000,
  211.         0x00C0,0x7878,0xCC18,0x0000,0x01E0,0x0000,0x0000,0x0000,
  212.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  213.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  214.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  215.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  216.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFCF,0xFFEF,0xFF40,
  217.         0xBFFF,0xFFFF,0xFFCF,0xFF40,0xBE47,0x878F,0x0783,0xFF40,
  218.         0xBF33,0x33CF,0x33CF,0xFF40,0xBF33,0x33CF,0x33CF,0xFF40,
  219.         0xBF07,0x33CF,0x33CB,0xFF40,0xBF3F,0x8787,0x33E7,0xFF40,
  220.         0xBE1F,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  221.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  222.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  223. };
  224.  
  225. struct Image Image6b = {
  226.         0,0,    /* XY origin relative to container TopLeft */
  227.         58,17,  /* Image width and height in pixels */
  228.         2,      /* number of bitplanes in Image */
  229.         ImageData6b,     /* pointer to ImageData */
  230.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  231.         NULL    /* next Image structure */
  232. };
  233.  
  234.  
  235. USHORT chip ImageData6a[] = {
  236.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  237.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  238.         0x0000,0x0000,0x0000,0x0000,0x0070,0x3000,0x0000,0x0000,
  239.         0x0030,0x0000,0x0000,0x0000,0x0030,0x70F8,0x7800,0x0000,
  240.         0x0030,0x30CC,0xCC00,0x0000,0x0030,0x30CC,0xFC00,0x0000,
  241.         0x0030,0x30CC,0xC000,0x0000,0x0078,0x78CC,0x7800,0x0000,
  242.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  243.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  244.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  245.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  246.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  247.         0xBF8F,0xCFFF,0xFFFF,0xFF40,0xBFCF,0xFFFF,0xFFFF,0xFF40,
  248.         0xBFCF,0x8F07,0x87FF,0xFF40,0xBFCF,0xCF33,0x33FF,0xFF40,
  249.         0xBFCF,0xCF33,0x03FF,0xFF40,0xBFCF,0xCF33,0x3FFF,0xFF40,
  250.         0xBF87,0x8733,0x87FF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  251.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  252.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  253. };
  254.  
  255.  
  256. struct Image Image6a = {
  257.         0,0,    /* XY origin relative to container TopLeft */
  258.         58,17,  /* Image width and height in pixels */
  259.         2,      /* number of bitplanes in Image */
  260.         ImageData6a,     /* pointer to ImageData */
  261.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  262.         NULL    /* next Image structure */
  263. };
  264.  
  265. /* Both Gadget Image */
  266.  
  267. USHORT chip ImageData6c[] = {
  268.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  269.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  270.         0x0000,0x0000,0x0000,0x0000,0x0070,0x0004,0x7000,0x0000,
  271.         0x0030,0x000C,0x3000,0x0000,0x0036,0x1E1F,0x3600,0x0000,
  272.         0x003B,0x330C,0x3B00,0x0000,0x0033,0x330C,0x3300,0x0000,
  273.         0x0033,0x330D,0x3300,0x0000,0x001E,0x1E06,0x7300,0x0000,
  274.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  275.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  276.         0x0000,0x0000,0x0000,0x0000,0xFFFF,0xFFFF,0xFFFF,0xFFC0,
  277.         0x8000,0x0000,0x0000,0x0040,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  278.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  279.         0xBF8F,0xFFFB,0x8FFF,0xFF40,0xBFCF,0xFFF3,0xCFFF,0xFF40,
  280.         0xBFC9,0xE1E0,0xC9FF,0xFF40,0xBFC4,0xCCF3,0xC4FF,0xFF40,
  281.         0xBFCC,0xCCF3,0xCCFF,0xFF40,0xBFCC,0xCCF2,0xCCFF,0xFF40,
  282.         0xBFE1,0xE1F9,0x8CFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  283.         0xBFFF,0xFFFF,0xFFFF,0xFF40,0xBFFF,0xFFFF,0xFFFF,0xFF40,
  284.         0x8000,0x0000,0x0000,0x0040,0xFFFF,0xFFFF,0xFFFF,0xFFC0
  285. };
  286.  
  287. struct Image Image6c = {
  288.         0,0,    /* XY origin relative to container TopLeft */
  289.         58,17,  /* Image width and height in pixels */
  290.         2,      /* number of bitplanes in Image */
  291.         ImageData6c,     /* pointer to ImageData */
  292.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  293.         NULL    /* next Image structure */
  294. };
  295.  
  296.  
  297. struct Gadget Gadget16 = {
  298.         &Gadget17a,      /* next gadget */
  299.         229,131,        /* origin XY of hit box relative to window TopLeft */
  300.         60,17,  /* hit box width and height */
  301.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  302.         GADGIMMEDIATE, /* activation flags */
  303.         BOOLGADGET,     /* gadget type flags */
  304.         (APTR)&Image6a,  /* gadget border or image to be rendered */
  305.         NULL,  /* alternate imagery for selection */
  306.         NULL,   /* first IntuiText structure */
  307.         NULL,   /* gadget mutual-exclude long word */
  308.         NULL,   /* SpecialInfo structure */
  309.         NULL,   /* user-definable data */
  310.         NULL    /* pointer to user-definable data */
  311. };
  312.  
  313. /* OFF Box Data */
  314.  
  315. USHORT chip ImageData8[] = {
  316.         0x7FFF,0xFFFF,0xC000,0xFFFF,0xFFFF,0xE000,0xFFFF,0xFFFF,
  317.         0xE000,0xFFFF,0xFFFF,0xE000,0xFFFF,0xFFFF,0xE000,0xF800,
  318.         0x0003,0xE000,0xF800,0x0003,0xE000,0xF800,0x0003,0xE000,
  319.         0xF800,0x0003,0xE000,0xF800,0x0003,0xE000,0xF8FE,0x0003,
  320.         0xE000,0xF983,0x0003,0xE000,0xFB01,0x8003,0xE000,0xFB01,
  321.         0xB7C3,0xE000,0xFB01,0x9863,0xE000,0xFB01,0x9863,0xE000,
  322.         0xFB01,0x9863,0xE000,0xF983,0x1863,0xE000,0xF8FE,0x3CF3,
  323.         0xE000,0xF800,0x0003,0xE000,0xF800,0x0003,0xE000,0xF800,
  324.         0x0003,0xE000,0xF800,0x0003,0xE000,0xF800,0x0003,0xE000,
  325.         0xF800,0x0003,0xE000,0xF800,0x0003,0xE000,0xF800,0x0003,
  326.         0xE000,0xF800,0x0003,0xE000,0xF800,0x0003,0xE000,0xFFFF,
  327.         0xFFFF,0xE000,0xFFFF,0xFFFF,0xE000,0xFFFF,0xFFFF,0xE000,
  328.         0xFFFF,0xFFFF,0xE000,0x7FFF,0xFFFF,0xC000,0x0000,0x0000,
  329.         0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,
  330.         0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x07FF,0xFFFC,0x1FFF,
  331.         0x07FF,0xFFFC,0x1FFF,0x07FF,0xFFFC,0x1FFF,0x07FF,0xFFFC,
  332.         0x1FFF,0x07FF,0xFFFC,0x1FFF,0x0701,0xFFFC,0x1FFF,0x067C,
  333.         0xFFFC,0x1FFF,0x04FE,0x7FFC,0x1FFF,0x04FE,0x483C,0x1FFF,
  334.         0x04FE,0x679C,0x1FFF,0x04FE,0x679C,0x1FFF,0x04FE,0x679C,
  335.         0x1FFF,0x067C,0xE79C,0x1FFF,0x0701,0xC30C,0x1FFF,0x07FF,
  336.         0xFFFC,0x1FFF,0x07FF,0xFFFC,0x1FFF,0x07FF,0xFFFC,0x1FFF,
  337.         0x07FF,0xFFFC,0x1FFF,0x07FF,0xFFFC,0x1FFF,0x07FF,0xFFFC,
  338.         0x1FFF,0x07FF,0xFFFC,0x1FFF,0x07FF,0xFFFC,0x1FFF,0x07FF,
  339.         0xFFFC,0x1FFF,0x07FF,0xFFFC,0x1FFF,0x0000,0x0000,0x1FFF,
  340.         0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,
  341.         0x1FFF,0x0000,0x0000,0x1FFF
  342. };
  343.  
  344. struct Image Image8 = {
  345.         0,0,    /* XY origin relative to container TopLeft */
  346.         35,34,  /* Image width and height in pixels */
  347.         2,      /* number of bitplanes in Image */
  348.         ImageData8,     /* pointer to ImageData */
  349.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  350.         NULL    /* next Image structure */
  351. };
  352.  
  353. /* ON Box Data */
  354.  
  355. USHORT chip ImageData9[] = {
  356.         0x7FFF,0xFFFF,0xC000,0xFFFF,0xFFFF,0xE000,0xFFFF,0xFFFF,
  357.         0xE000,0xFFFF,0xFFFF,0xE000,0xFFFF,0xFFFF,0xE000,0xF800,
  358.         0x0003,0xE000,0xF800,0x0003,0xE000,0xF800,0x0003,0xE000,
  359.         0xF800,0x0003,0xE000,0xF800,0x0003,0xE000,0xF800,0x0003,
  360.         0xE000,0xF9F8,0x60C3,0xE000,0xF908,0xD9B3,0xE000,0xFA04,
  361.         0xC183,0xE000,0xFA05,0xE3C3,0xE000,0xFA04,0xC183,0xE000,
  362.         0xFA04,0xC183,0xE000,0xF908,0xC183,0xE000,0xF9F8,0xE383,
  363.         0xE000,0xF800,0x0003,0xE000,0xF800,0x0003,0xE000,0xF800,
  364.         0x0003,0xE000,0xF800,0x0003,0xE000,0xF800,0x0003,0xE000,
  365.         0xF800,0x0003,0xE000,0xF800,0x0003,0xE000,0xF800,0x0003,
  366.         0xE000,0xF800,0x0003,0xE000,0xF800,0x0003,0xE000,0xFFFF,
  367.         0xFFFF,0xE000,0xFFFF,0xFFFF,0xE000,0xFFFF,0xFFFF,0xE000,
  368.         0xFFFF,0xFFFF,0xE000,0x7FFF,0xFFFF,0xC000,0x0000,0x0000,
  369.         0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,
  370.         0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,
  371.         0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,
  372.         0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,
  373.         0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,
  374.         0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,
  375.         0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,
  376.         0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,
  377.         0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,
  378.         0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,
  379.         0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,
  380.         0x0000,0x0000,0x1FFF,0x0000,0x0000,0x1FFF,0x0000,0x0000,
  381.         0x1FFF,0x0000,0x0000,0x1FFF
  382. };
  383.  
  384. struct Image Image9 = {
  385.         0,0,    /* XY origin relative to container TopLeft */
  386.         35,34,  /* Image width and height in pixels */
  387.         2,      /* number of bitplanes in Image */
  388.         ImageData9,     /* pointer to ImageData */
  389.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  390.         NULL    /* next Image structure */
  391. };
  392.  
  393. struct Gadget Gadget15 = {
  394.         &Gadget16,      /* next gadget */
  395.         204,27, /* origin XY of hit box relative to window TopLeft */
  396.         35,34,  /* hit box width and height */
  397.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  398.         GADGIMMEDIATE+TOGGLESELECT,     /* activation flags */
  399.         BOOLGADGET,     /* gadget type flags */
  400.         (APTR)&Image9,  /* gadget border or image to be rendered */
  401.         (APTR)&Image8,  /* alternate imagery for selection */
  402.         NULL,   /* first IntuiText structure */
  403.         NULL,   /* gadget mutual-exclude long word */
  404.         NULL,   /* SpecialInfo structure */
  405.         NULL,   /* user-definable data */
  406.         NULL    /* pointer to user-definable data */
  407. };
  408.  
  409.  
  410. struct Image Image10 = {
  411.         0,0,    /* XY origin relative to container TopLeft */
  412.         35,34,  /* Image width and height in pixels */
  413.         2,      /* number of bitplanes in Image */
  414.         ImageData8,    /* pointer to ImageData */
  415.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  416.         NULL    /* next Image structure */
  417. };
  418.  
  419.  
  420. struct Image Image11 = {
  421.         0,0,    /* XY origin relative to container TopLeft */
  422.         35,34,  /* Image width and height in pixels */
  423.         2,      /* number of bitplanes in Image */
  424.         ImageData9,    /* pointer to ImageData */
  425.         0x0003,0x0000,  /* PlanePick and PlaneOnOff */
  426.         NULL    /* next Image structure */
  427. };
  428.  
  429. struct Gadget Gadget14 = {
  430.         &Gadget15,      /* next gadget */
  431.         103,26, /* origin XY of hit box relative to window TopLeft */
  432.         35,34,  /* hit box width and height */
  433.         GADGHIMAGE+GADGIMAGE,   /* gadget flags */
  434.         GADGIMMEDIATE+TOGGLESELECT,     /* activation flags */
  435.         BOOLGADGET,     /* gadget type flags */
  436.         (APTR)&Image10, /* gadget border or image to be rendered */
  437.         (APTR)&Image11, /* alternate imagery for selection */
  438.         NULL,   /* first IntuiText structure */
  439.         NULL,   /* gadget mutual-exclude long word */
  440.         NULL,   /* SpecialInfo structure */
  441.         NULL,   /* user-definable data */
  442.         NULL    /* pointer to user-definable data */
  443. };
  444.  
  445. extern struct Image Continue;
  446.  
  447. struct Gadget Gadget13 = {
  448.         &Gadget14,      /* next gadget */
  449.         331,184,        /* origin XY of hit box relative to window TopLeft */
  450.         99,43,  /* hit box width and height */
  451.         GADGHBOX+GADGHIMAGE+GADGIMAGE,  /* gadget flags */
  452.         GADGIMMEDIATE,  /* activation flags */
  453.         BOOLGADGET,     /* gadget type flags */
  454.         (APTR)&Continue, /* gadget border or image to be rendered */
  455.         NULL,   /* alternate imagery for selection */
  456.         NULL,   /* first IntuiText structure */
  457.         NULL,   /* gadget mutual-exclude long word */
  458.         NULL,   /* SpecialInfo structure */
  459.         NULL,   /* user-definable data */
  460.         NULL    /* pointer to user-definable data */
  461. };
  462.  
  463. struct IntuiText IText15a = {
  464.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  465.         255,77, /* XY origin relative to container TopLeft */
  466.         NULL,   /* font pointer or NULL for default */
  467.         "Number of Y Tics",       /* pointer to text */
  468.         NULL    /* next IntuiText structure */
  469. };
  470.  
  471. struct IntuiText IText15 = {
  472.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  473.         255,37, /* XY origin relative to container TopLeft */
  474.         NULL,   /* font pointer or NULL for default */
  475.         "Number of X Tics",       /* pointer to text */
  476.         &IText15a    /* next IntuiText structure */
  477. };
  478.  
  479.  
  480. struct IntuiText IText14 = {
  481.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  482.         292,135,        /* XY origin relative to container TopLeft */
  483.         NULL,   /* font pointer or NULL for default */
  484.         "Plot", /* pointer to text */
  485.         &IText15        /* next IntuiText structure */
  486. };
  487.  
  488. struct IntuiText IText13 = {
  489.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  490.         108,134,        /* XY origin relative to container TopLeft */
  491.         NULL,   /* font pointer or NULL for default */
  492.         "Accept Default",       /* pointer to text */
  493.         &IText14        /* next IntuiText structure */
  494. };
  495.  
  496. struct IntuiText IText12 = {
  497.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  498.         156,38, /* XY origin relative to container TopLeft */
  499.         NULL,   /* font pointer or NULL for default */
  500.         "Grid", /* pointer to text */
  501.         &IText13        /* next IntuiText structure */
  502. };
  503.  
  504. struct IntuiText IText11 = {
  505.         1,0,JAM2,       /* front and back text pens, drawmode and fill byte */
  506.         9,37,   /* XY origin relative to container TopLeft */
  507.         NULL,   /* font pointer or NULL for default */
  508.         "Error Bars",   /* pointer to text */
  509.         &IText12        /* next IntuiText structure */
  510. };
  511.  
  512.  
  513. char title0[]="                     Define Plot                ";
  514.  
  515.